﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_VendorMaster : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_ListPriceD_Gridview", "ID");
        [Column]
        public string Vendor_Code { get { return _Vendor_Code; } set { _Vendor_Code = value; EntityState.FieldChange("Vendor_Code"); } } private string _Vendor_Code; public static FieldInfo vendor_Code = new FieldInfo("TW_ListPriceD_Gridview", "Vendor_Code");
        [Column]
        public string Site { get { return _Site; } set { _Site = value; EntityState.FieldChange("Site"); } } private string _Site; public static FieldInfo site = new FieldInfo("TW_ListPriceD_Gridview", "Site");
        [Column]
        public string Vendor_Name { get { return _Vendor_Name; } set { _Vendor_Name = value; EntityState.FieldChange("Vendor_Name"); } } private string _Vendor_Name; public static FieldInfo vendor_Name = new FieldInfo("TW_ListPriceD_Gridview", "Vendor_Name");
        [Column]
        public string Vendor_Type { get { return _Vendor_Type; } set { _Vendor_Type = value; EntityState.FieldChange("Vendor_Type"); } } private string _Vendor_Type; public static FieldInfo vendor_Type = new FieldInfo("TW_ListPriceD_Gridview", "Vendor_Type");
        [Column]
        public string ID_Card { get { return _ID_Card; } set { _ID_Card = value; EntityState.FieldChange("ID_Card"); } } private string _ID_Card; public static FieldInfo iD_Card = new FieldInfo("TW_ListPriceD_Gridview", "ID_Card");
        [Column]
        public string Sales_SAP_Code { get { return _Sales_SAP_Code; } set { _Sales_SAP_Code = value; EntityState.FieldChange("Sales_SAP_Code"); } } private string _Sales_SAP_Code; public static FieldInfo sales_SAP_Code = new FieldInfo("TW_ListPriceD_Gridview", "Sales_SAP_Code");
        [Column]
        public DateTime CreateDate { get { return _CreateDate; } set { _CreateDate = value; EntityState.FieldChange("CreateDate"); } } private DateTime _CreateDate; public static FieldInfo createDate = new FieldInfo("TW_ListPriceD_Gridview", "CreateDate");
        [Column]
        public DateTime UpdateDate { get { return _UpdateDate; } set { _UpdateDate = value; EntityState.FieldChange("UpdateDate"); } } private DateTime _UpdateDate; public static FieldInfo updateDate = new FieldInfo("TW_ListPriceD_Gridview", "UpdateDate");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_ListPriceD_Gridview", "Status");

    }
}
